﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EZCRS.HCMS.Entity;
using EZCRS.HCMS.SqlClient;

namespace EZCRS.HCMS.Bll.baseinfo
{
    public class BllAirCode
    {
        public List<HCRS_Aircode> getallitem(string cityword)
        {
            return new sql_hcrs_aircode().getallitem(cityword);
        }

        public string getcodename(string code)
        {
            HCRS_Aircode _code= new sql_hcrs_aircode().getitem(code);
            if (code != null)
                return _code.name;
            else
                return "";
        }
    }
}
